package cn.founder.org.domain;

import cn.founder.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Department extends BaseDomain{
    //ID 来源于继承 公共BaseDomainid
    private String sn;
    private String name;
    private String dirPath;
    private Integer state;
    private Long manager_id;
    private Employee manager;
    private Long parent_id;
    private Department parent;

    private List<Department> children;
}
